package com.ruikong.dazhi.entity.basicinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2021-11-10 15:35:16
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -63647244752069510L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 产品编号
     */
    private String productSn;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 批号
     */
    private String productBatch;
    /**
     * 形状
     */
    private String productShape;
    /**
     * 制造日期
     */

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date manufactureDate;


    private  Integer isDeleted;


    //简称
    private String abbreviation;

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductSn() {
        return productSn;
    }

    public void setProductSn(String productSn) {
        this.productSn = productSn;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductBatch() {
        return productBatch;
    }

    public void setProductBatch(String productBatch) {
        this.productBatch = productBatch;
    }

    public String getProductShape() {
        return productShape;
    }

    public void setProductShape(String productShape) {
        this.productShape = productShape;
    }

    public Date getManufactureDate() {
        return manufactureDate;
    }

    public void setManufactureDate(Date manufactureDate) {
        this.manufactureDate = manufactureDate;
    }

}

